package com.weishenai.customerassistant.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.weishenai.customerassistant.entity.FactFinder;

import java.util.List;

public interface FactFinderService extends IService<FactFinder> {
    public FactFinder login(String weixinId);

    public Integer createFactFinder(FactFinder factFinder);

    Integer delFactFinder(String weixinId);

    Integer updateFactFinder(FactFinder factFinder);

    IPage<FactFinder> selectByFactName(String substation,Integer pageNumber, Integer pageSize, String name);

    IPage<FactFinder> selectAll(String substation,Integer pageNumber, Integer pageSize);

    FactFinder selectById(Integer id);

    List<FactFinder> listFactFinder(String substation);

    Long getCountBySubstation(String substation);
}
